iT邦幫忙

DAY 13
2

UML學習過程分享-以EA為例系列 第 13

[Day 13]Sequence Diagram Memo

  • 分享至 

  • xImage
  •  

Some issue on sequence diagram you should know
範例圖片:
圖一:

圖二:

圖二的sample code:

procedure dispatch
  foreach (lineitem)
    if (product.value > $10K)
      careful.dispatch
    else
      regular.dispatch
    end if
  end for
  if (needsConfirmation) messenger.confirm
end procedure

練習用一下英文描述東西,希望能夠表示出我想說的意思...
1.Each participant is an instance initated by class entity in class diagram

2.Lifeline can be started with newing an instance of object, can be delected by self or other objects.

3.Activation can define spending time of the operation of the participant . It also can define all processes in some operation.

4.By designing Operators(like loop, alt, opt,etc...), sequence diagram can let model and code more closely.


上一篇
[Day 12]MDA裡CIM-1注意事項
下一篇
[Day 14]MDA中的CIM-2
系列文
UML學習過程分享-以EA為例30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言